// 部门管理
import http from "./http";

// 获取两条状态数据
const sysNormalDisable = () => {
    return http.get('system/dict/data/type/sys_normal_disable')
}

// 获取数据
const getList = (deptName, status) => {
    return http.get('system/dept/list', {
        params: {
            deptName,
            status
        }
    })
}

export default {
    sysNormalDisable,
    getList
}